<?php

namespace App\Modules\Shop\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class Banner
 * @package App\Modules\Shop\Models
 * @property string $type
 * @property string $image
 * @property integer $link_id
 * @property integer $shop_id
 * @property string $url
 * @property integer $sort
 * @property string $aim
 */
class Banner extends Model
{
    const TYPE_PLATFORM = 'platform';
    const TYPE_SHOP = 'shop';

    protected $fillable = [
        'type',
        'image',
        'link_id',
        'shop_id',
        'url',
        'sort',
        'aim'
    ];
}
